<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Classroom extends Model
{
	public $timestamps = false;
    protected $fillable = [
        'name', 'addr', 'campus_id',
    ];

    public function Campus()
    {
        return $this->belongsTo(Campus::class);
    }

    public function student_attendance()
    {
        return $this->hasOne(Student_attendance::class);
    }
}
